package com.lcx.plugin.neteaseCloud.component.toolwindow.login.email;

import com.lcx.plugin.neteaseCloud.component.toolwindow.login.AbstractDialogWrapper;
import com.lcx.plugin.neteaseCloud.music.DataCenter;

/**
 * @author wengyongcheng
 * @since 2020/3/2 10:36 下午
 */
public class EmailLoginDialogWrapper extends AbstractDialogWrapper {

    public EmailLoginDialogWrapper() {
        textField.setText("");
    }

    @Override
    public String getHead() {
        return "登录 (2/3)";
    }

    @Override
    public String getInfoMsg() {
        return "请输入账号";
    }

    @Override
    public String getBottomMsg() {
        return "请输入账号(按\"Enter\"以确认输入或按\"Esc\"以取消)";
    }

    @Override
    public void nextStep(String text) {
        DataCenter.accountNumber = text;
        new EmailPwdDialogWrapper().show();
    }

}
